<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
  <title>二三 </title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1">


<meta name="description" content="" />

<meta name="keywords" content="">

<link rel="author" href="http://plus.google.com/+Myprofile">


<meta property="og:title" content="二三 ">
<meta property="og:site_name" content="二三"/>
<meta property="og:url" content="https://idersan.github.io/" />
<meta property="og:locale" content="zh-CN">


<meta property="og:type" content="website" />



<link href="https://idersan.github.io/index.xml" rel="alternate" type="application/rss+xml" title="二三" />

<link rel="canonical" href="https://idersan.github.io/" />
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="https://idersan.github.io/touch-icon-144-precomposed.png">
<link rel="icon" href="https://idersan.github.io/favicon.png">
<meta name="generator" content="Hugo 0.21-DEV" />

  <!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.2/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->



    <link rel="stylesheet" href="https://idersan.github.io/css/bootswatch/paper/bootstrap.min.css">


<link rel="stylesheet" href="https://idersan.github.io/css/font-awesome.min.css">
<link rel="stylesheet" href="https://idersan.github.io/css/style.css">


  <link rel="stylesheet" href="https://idersan.github.io/css/highlight/dark.css">


</head>
<body class="map[name:paper]" data-ng-app="myapp" data-ng-controller="MyController" data-ng-mouseleave="MouseLeave($event)">
    <header id="main-header">
  <nav class="navbar navbar-default navbar-fixed-top">
    <div class="container">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        
          
          <a class="navbar-brand-img" href="https://idersan.github.io/">
            <img alt="二三" src="https://idersan.github.io/images/brandimg.jpg">
            
          </a>
        </div>
        <div id="navbar" class="collapse navbar-collapse">
          <ul class="nav navbar-nav navbar-right">
            
            
            <li class="">

              <a href="https://idersan.github.io/post/" >
                <i class='fa fa-list'></i>
                博客
              </a>
            </li>
            
            <li class="">

              <a href="https://idersan.github.io/categories/" >
                <i class='fa fa-folder-open'></i>
                分类
              </a>
            </li>
            
            <li class="">

              <a href="https://idersan.github.io/tags/" >
                <i class='fa fa-tags'></i>
                标签
              </a>
            </li>
            
            <li class="">

              <a href="https://idersan.github.io/page/about-me" >
                <i class='fa fa-info-circle'></i>
                关于我
              </a>
            </li>
            
          </ul>
        </div>
        
      </div>
    </nav>
  </header>


  <div class="container">
    
    <div class="row">
      <div class="col-sm-9">
        
        
          <div class="row">
  <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
    <div>
  <h2><a href="https://idersan.github.io/2017/08/18/%E5%AE%89%E8%A3%85apt-cyg/">安装apt cyg</a>
</h2>

  <div class="margin-10">
    <small>
  <i class="fa fa-calendar"></i>
  <time datetime="2017-08-18">18 Aug, 2017</time>
</small>

    
  <i class="fa fa-tags"></i>
  
  <a href="https://idersan.github.io/tags/cygwin" class="label label-primary">cygwin</a>
  


  </div>
</div>

    <p>
  
  
    安装apt cyg
  


</p>


    <p class="lead"><a href="https://idersan.github.io/2017/08/18/%E5%AE%89%E8%A3%85apt-cyg/" class="btn btn-default">阅读更多 &rarr;</a></p>


  </div>
</div>

        
          <div class="row">
  <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
    <div>
  <h2><a href="https://idersan.github.io/2017/08/18/go%E8%87%AA%E7%AD%BE%E5%90%8D%E8%AF%81%E4%B9%A6%E5%8F%8C%E5%90%91%E8%AE%A4%E8%AF%81/">GO自签名证书双向认证</a>
</h2>

  <div class="margin-10">
    <small>
  <i class="fa fa-calendar"></i>
  <time datetime="2017-08-18">18 Aug, 2017</time>
</small>

    
  <i class="fa fa-tags"></i>
  
  <a href="https://idersan.github.io/tags/gohttpsserver" class="label label-primary">GoHttpsServer</a>
  


  </div>
</div>

    <p>
  
  
    GO自签名证书双向认证
  


</p>


    <p class="lead"><a href="https://idersan.github.io/2017/08/18/go%E8%87%AA%E7%AD%BE%E5%90%8D%E8%AF%81%E4%B9%A6%E5%8F%8C%E5%90%91%E8%AE%A4%E8%AF%81/" class="btn btn-default">阅读更多 &rarr;</a></p>


  </div>
</div>

        
          <div class="row">
  <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
    <div>
  <h2><a href="https://idersan.github.io/2017/08/14/hugo%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4/">hugo常用命令</a>
</h2>

  <div class="margin-10">
    <small>
  <i class="fa fa-calendar"></i>
  <time datetime="2017-08-14">14 Aug, 2017</time>
</small>

    
  <i class="fa fa-tags"></i>
  
  <a href="https://idersan.github.io/tags/hugo" class="label label-primary">hugo</a>
  


  </div>
</div>

    <p>
  
  
    hugo常用命令
  


</p>


    <p class="lead"><a href="https://idersan.github.io/2017/08/14/hugo%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4/" class="btn btn-default">阅读更多 &rarr;</a></p>


  </div>
</div>

        
          <div class="row">
  <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
    <div>
  <h2><a href="https://idersan.github.io/2017/08/14/cygwin%E7%8E%AF%E5%A2%83%E4%B8%8B%E8%BD%BDandroid%E6%BA%90%E7%A0%81/">cygwin环境下载android源码</a>
</h2>

  <div class="margin-10">
    <small>
  <i class="fa fa-calendar"></i>
  <time datetime="2017-08-14">14 Aug, 2017</time>
</small>

    
  <i class="fa fa-tags"></i>
  
  <a href="https://idersan.github.io/tags/android" class="label label-primary">android</a>
  
  <a href="https://idersan.github.io/tags/aosp" class="label label-primary">AOSP</a>
  


  </div>
</div>

    <p>
  
  
    cygwin环境下载android源码
  


</p>


    <p class="lead"><a href="https://idersan.github.io/2017/08/14/cygwin%E7%8E%AF%E5%A2%83%E4%B8%8B%E8%BD%BDandroid%E6%BA%90%E7%A0%81/" class="btn btn-default">阅读更多 &rarr;</a></p>


  </div>
</div>

        
          <div class="row">
  <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
    <div>
  <h2><a href="https://idersan.github.io/2017/06/12/postgresql-json%E6%95%B0%E6%8D%AE%E5%AD%98%E5%82%A8%E5%92%8C%E6%9D%A1%E4%BB%B6%E6%9F%A5%E8%AF%A2/">PostGreSQL Json数据存储和条件查询</a>
</h2>

  <div class="margin-10">
    <small>
  <i class="fa fa-calendar"></i>
  <time datetime="2017-06-12">12 Jun, 2017</time>
</small>

    
  <i class="fa fa-tags"></i>
  
  <a href="https://idersan.github.io/tags/sql" class="label label-primary">sql</a>
  
  <a href="https://idersan.github.io/tags/postgresql-json" class="label label-primary">postgresql json</a>
  


  </div>
</div>

    <p>
  
  
    PostGreSQL Json数据存储和条件查询
  


</p>


    <p class="lead"><a href="https://idersan.github.io/2017/06/12/postgresql-json%E6%95%B0%E6%8D%AE%E5%AD%98%E5%82%A8%E5%92%8C%E6%9D%A1%E4%BB%B6%E6%9F%A5%E8%AF%A2/" class="btn btn-default">阅读更多 &rarr;</a></p>


  </div>
</div>

        
          <div class="row">
  <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
    <div>
  <h2><a href="https://idersan.github.io/2017/06/11/%E7%94%9F%E6%88%90%E8%87%AA%E7%AD%BE%E5%90%8Dssl%E8%AF%81%E4%B9%A6/">生成自签名SSL证书</a>
</h2>

  <div class="margin-10">
    <small>
  <i class="fa fa-calendar"></i>
  <time datetime="2017-06-11">11 Jun, 2017</time>
</small>

    
  <i class="fa fa-tags"></i>
  
  <a href="https://idersan.github.io/tags/https" class="label label-primary">https</a>
  
  <a href="https://idersan.github.io/tags/ssl%E8%AF%81%E4%B9%A6" class="label label-primary">ssl证书</a>
  
  <a href="https://idersan.github.io/tags/%E8%87%AA%E7%AD%BE%E5%90%8D%E8%AF%81%E4%B9%A6" class="label label-primary">自签名证书</a>
  


  </div>
</div>

    <p>
  
  
    生成自签名SSL证书
  


</p>


    <p class="lead"><a href="https://idersan.github.io/2017/06/11/%E7%94%9F%E6%88%90%E8%87%AA%E7%AD%BE%E5%90%8Dssl%E8%AF%81%E4%B9%A6/" class="btn btn-default">阅读更多 &rarr;</a></p>


  </div>
</div>

        
          <div class="row">
  <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
    <div>
  <h2><a href="https://idersan.github.io/2017/05/31/go%E5%85%A5%E9%97%A8_%E4%B8%80/">Go入门_一</a>
</h2>

  <div class="margin-10">
    <small>
  <i class="fa fa-calendar"></i>
  <time datetime="2017-05-31">31 May, 2017</time>
</small>

    
  <i class="fa fa-tags"></i>
  
  <a href="https://idersan.github.io/tags/go" class="label label-primary">Go</a>
  


  </div>
</div>

    <p>
  
  
    Go入门第一课
  


</p>


    <p class="lead"><a href="https://idersan.github.io/2017/05/31/go%E5%85%A5%E9%97%A8_%E4%B8%80/" class="btn btn-default">阅读更多 &rarr;</a></p>


  </div>
</div>

        
          <div class="row">
  <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
    <div>
  <h2><a href="https://idersan.github.io/2017/05/08/hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/">hexo博客搭建</a>
</h2>

  <div class="margin-10">
    <small>
  <i class="fa fa-calendar"></i>
  <time datetime="2017-05-08">8 May, 2017</time>
</small>

    
  <i class="fa fa-tags"></i>
  
  <a href="https://idersan.github.io/tags/hexo" class="label label-primary">hexo</a>
  


  </div>
</div>

    <p>
  
  
    hexo 博客在windows 10下快速搭建步骤：
0x1 安装tortoisegit。  1.1 新建Repository yourname.github.io。
1.2 开通 page 服务。
1.3 本地新建index.html(hello world) push到username.github.io
&lt;!DOCTYPE HTML&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt;yourname's Blog&lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;h1&gt;Hello World&lt;/h1&gt; &lt;p&gt;I'm hosted with GitHub Paes&lt;/p&gt; &lt;/body&gt; &lt;/html&gt;  1.4 访问yourname.github.io 可以看到helloworld。
 0x2 安装nodejs  2.1 http://nodejs.org 下载安装文件，点击安装。 2.2 配置npm的全局模块的存放路径以及cache的路:
$ npm config set prefix &quot;C:\Program Files\nodejs\node_global&quot; $ npm config set cache &quot;C:\Program Files\nodejs\node_cache&quot;  2.3 设置环境变量 NODEPATH=C:\Program Files\nodejs\node_global
 0x3 安装hexo  3.
  


</p>


    <p class="lead"><a href="https://idersan.github.io/2017/05/08/hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/" class="btn btn-default">阅读更多 &rarr;</a></p>


  </div>
</div>

        
        

      </div>
      
        <div class="col-xs-12 col-sm-12 col-md-3 col-lg-3">
          <div>
  

    <div class="section">
      <header><div class="title"><b>最近更新</b></div></header>
      <div class="content">
        <ul>
        
          <li>
          <a href="https://idersan.github.io/2017/08/18/%E5%AE%89%E8%A3%85apt-cyg/">安装apt cyg</a>
          </li>
        
          <li>
          <a href="https://idersan.github.io/2017/08/18/go%E8%87%AA%E7%AD%BE%E5%90%8D%E8%AF%81%E4%B9%A6%E5%8F%8C%E5%90%91%E8%AE%A4%E8%AF%81/">GO自签名证书双向认证</a>
          </li>
        
          <li>
          <a href="https://idersan.github.io/2017/08/14/hugo%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4/">hugo常用命令</a>
          </li>
        
          <li>
          <a href="https://idersan.github.io/2017/08/14/cygwin%E7%8E%AF%E5%A2%83%E4%B8%8B%E8%BD%BDandroid%E6%BA%90%E7%A0%81/">cygwin环境下载android源码</a>
          </li>
        
          <li>
          <a href="https://idersan.github.io/2017/06/12/postgresql-json%E6%95%B0%E6%8D%AE%E5%AD%98%E5%82%A8%E5%92%8C%E6%9D%A1%E4%BB%B6%E6%9F%A5%E8%AF%A2/">PostGreSQL Json数据存储和条件查询</a>
          </li>
        
          <li>
          <a href="https://idersan.github.io/2017/06/11/%E7%94%9F%E6%88%90%E8%87%AA%E7%AD%BE%E5%90%8Dssl%E8%AF%81%E4%B9%A6/">生成自签名SSL证书</a>
          </li>
        
          <li>
          <a href="https://idersan.github.io/2017/05/31/go%E5%85%A5%E9%97%A8_%E4%B8%80/">Go入门_一</a>
          </li>
        
          <li>
          <a href="https://idersan.github.io/2017/05/08/hexo%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/">hexo博客搭建</a>
          </li>
        
          <li>
          <a href="https://idersan.github.io/post/">Posts</a>
          </li>
        
        </ul>
      </div>
    </div>
    
    
      
      
      <div class="section taxonomies">
        <header><div class="title">
          
              <b>分类(4)</b></div>
          
          
          
          </header>
        <div class="content">
          <ul>
            <li><a href="https://idersan.github.io/categories/%E5%BC%80%E5%8F%91wiki">开发wiki</a></li><li><a href="https://idersan.github.io/categories/go">go</a></li><li><a href="https://idersan.github.io/categories/android">android</a></li><li><a href="https://idersan.github.io/categories/database">database</a></li>
          </ul>
        </div>
      </div>
      
    
      
      
      <div class="section taxonomies">
        <header><div class="title">
          
          
              <b>标签(12)</b></div>          
          
          
          </header>
        <div class="content">
          <ul>
            <li><a href="https://idersan.github.io/tags/android">android</a></li><li><a href="https://idersan.github.io/tags/aosp">aosp</a></li><li><a href="https://idersan.github.io/tags/cygwin">cygwin</a></li><li><a href="https://idersan.github.io/tags/go">go</a></li><li><a href="https://idersan.github.io/tags/gohttpsserver">gohttpsserver</a></li><li><a href="https://idersan.github.io/tags/hexo">hexo</a></li><li><a href="https://idersan.github.io/tags/https">https</a></li><li><a href="https://idersan.github.io/tags/hugo">hugo</a></li><li><a href="https://idersan.github.io/tags/postgresql-json">postgresql-json</a></li><li><a href="https://idersan.github.io/tags/sql">sql</a></li>
          </ul>
        </div>
      </div>
      
    
      
      
    

</div>

        </div>
      
    </div>

  </div>

      
<footer class="footer hidden-print">
  <div class="container">
    <div class="row">
        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
           <div class="pull-left">
  <a class="toplink" href="javascript:" id="return-to-top">回到顶部</a>
</div>
<div class="pull-right">

</div>

        </div>
        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 text-center">
              
    
<div class="container footline">
    <small>
         <span id="busuanzi_container_site_pv">本站总访问量<span id="busuanzi_value_site_pv"></span>次</span>
          
  code with <i class='fa fa-heart'></i>


    </small>
</div>

    
<div class="container copyright">
    <small>
  &copy; 2017 Copyright 二三

  </small>
</div>



        </div>
    </div>
  </div>
</footer>

    

<script src="//s3.amazonaws.com/mailmunch/static/site.js" id="mailmunch-script" data-mailmunch-site-id="" async="async"></script>



<script src="//load.sumome.com/" data-sumo-site-id="" async="async"></script>

<script src="https://idersan.github.io/js/jquery.min.js"></script>
<script src="https://idersan.github.io/js/bootstrap.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.9/angular.min.js"></script>
<script src="https://idersan.github.io/js/popover/angular-storage.min.js"></script>
<script async src="//dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>


<script type="text/javascript">
  (function() {
    
    
    if (window.location.hostname == "localhost")
      return;

    
    
    
  })();
  $('#return-to-top').click(function() {      
    $('body,html').animate({
        scrollTop : 0                       
    }, 500);
});
</script>


<script src="https://idersan.github.io/js/highlight.pack.js"></script>
<script src="https://idersan.github.io/js/site.js"></script>
<script>hljs.initHighlightingOnLoad();</script>


<script>
  var _gaq=[['_setAccount','UA-99037232-1'],['_trackPageview']];
  (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
  g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
  s.parentNode.insertBefore(g,s)}(document,'script'));
</script>

<script>
var ENABLE_POPOVER =  false ; 
var EXPIRE_COOKIE =  5 ; 
var SHOW_MODAL_TIMEOUT =  10000 ; 
var MOUSE_LEAVE =  false ; 
var MODAL_SIZE = ""; 
var POST_URL = "https://zapier.com/hooks/catch/1227563/"; 
var SIGNUP_HEADER = "Join Our Newsletter";
var HEADER_IMAGE = "http://placehold.it/1000x600";
var IMG_DESCRIPTION = "Placeholder image for this popover modal optin form";
var SIGNUP_TEXT = "Signup today for free and be the first to get notified on new updates.";
var INPUT_PLACEHOLDER = "Enter your email";
var SUBMIT_BUTTON = "Subscribe";
var SUCCESS_MESSAGE = "Thanks for your subscription!";
var ERROR_MESSAGE = "Submitting form failed!";
var OPTIN =  false ;
var COOKIE_NAME = "mycookie1";
</script>
<script src="https://idersan.github.io/js/popover/angular-modal-service.min.js"></script>
<script src="https://idersan.github.io/js/angular-ismobile.min.js"></script>
<script src="https://idersan.github.io/js/popover/popover.min.js"></script>

  </body>
</html>

